package org.yate.oa.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.CacheNamespace;
import org.springframework.stereotype.Repository;
import org.yate.oa.dao.IBaseMapperDao;
import org.yate.oa.model.PerformancePartEntity;

@Repository(value = "performancePartMapper")
@CacheNamespace(size = 512)
public interface PerformancePartMapper extends IBaseMapperDao<PerformancePartEntity, Integer> {

	Integer addEntity(final PerformancePartEntity e);

	List<PerformancePartEntity> getEntitiesBy(final PerformancePartEntity e);

	void removeByPerId(Integer perId);
}
